<a class="header_right_item" href="{{ 'checkout/cart'|page }}">
    <span class="header_right_item_icon sprite_common menu_cart"></span>
    <span class="header_right_item_text i_txt_common sprite-txt_header_nav">{{ 'cart'|_ }}</span>
    {% set shoppingCart = catalog.getShoppingCart %}
    <span class="products_in_cart_num" style="color: white;">{{ count(shoppingCart.items) }}</span>
</a>